<?php
class Zend_View_Helper_Search {
	private $_config = null;
	private $_view = null;
	
	public function search(array $data) {
		if (isset ( $_GET ['search'] ))
			$data ['search'] = $_GET ['search'];
		
		return $this->_view->url ( $data );
	}
	
	public function setView(Zend_View_Interface $view) {
		$this->_view = $view;
	}
}